//导入express和题库的业务逻辑处理的模块

const express = require('express');
const T_quick_fill = require('../router_handler/T_quick_fill')

const router = express.Router()

//快速插入
router.post('/exam/quickfill/create', T_quick_fill.quickfillALL)

router.put('/exam/quickfill/update', T_quick_fill.quickUpdate)

router.post('/exam/quickfill/add', T_quick_fill.addOne)

router.get('/exam/quickfill/get', T_quick_fill.quickFind)

router.delete('/exam/quickfill/delete', T_quick_fill.deleteOne)

// //插入标签
// router.post('/exam/quickfill/create',)

//搜索题目标签
router.get('/exam/quickfill/label/get', T_quick_fill.getQuestionLabel)

//选择标签匹配
router.post('/exam/quickfill/label/post', T_quick_fill.postQuestionLabel)

//删除标签匹配
router.delete('/exam/quickfill/label/delete', T_quick_fill.deleteQuestionLabel)
//导出
module.exports = router